import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import List from '@/components/user/List'
Vue.use(Router)

export default new Router({
  routes: [
    {path: '/', redirect:"/index" },
    {path: '/index', name: 'Index', component: Index },
    {path: '/users', name: 'List', component: List }
  ]
})
